package com.itts.synchronizedDemo;

public class father {

    public synchronized void doSomething() {
        System.out.println("father.dosomething()" + Thread.currentThread().getName());
    }
}
